package qmm.entity;

public class Goods {
	private int id;
	private String goodsName;
	private String goodsDesc;
	private double price;
	private int stock;
	private int classifyLevel1Id;
	private int classifyLevel2Id;
	private int classifyLevel3Id;
	private String fileName;
	private int isDelete;
	private int status;
	public Goods() {
		super();
	}
	
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Goods(int id, String goodsName, String goodsDesc, double price, int stock, int status) {
		super();
		this.id = id;
		this.goodsName = goodsName;
		this.goodsDesc = goodsDesc;
		this.price = price;
		this.stock = stock;
		this.status = status;
	}

	public Goods(int id, String goodsName, String goodsDesc, double price, int stock, int classifyLevel1Id,
			int classifyLevel2Id, int classifyLevel3Id, String fileName, int isDelete, int status) {
		super();
		this.id = id;
		this.goodsName = goodsName;
		this.goodsDesc = goodsDesc;
		this.price = price;
		this.stock = stock;
		this.classifyLevel1Id = classifyLevel1Id;
		this.classifyLevel2Id = classifyLevel2Id;
		this.classifyLevel3Id = classifyLevel3Id;
		this.fileName = fileName;
		this.isDelete = isDelete;
		this.status = status;
	}

	public Goods(int id, String goodsName, String goodsDesc, double price, int stock) {
		super();
		this.id = id;
		this.goodsName = goodsName;
		this.goodsDesc = goodsDesc;
		this.price = price;
		this.stock = stock;
	}

	public Goods(int id, String goodsName, String goodsDesc, double price, int stock, int classifyLevel1Id,
			int classifyLevel2Id, int classifyLevel3Id, String fileName, int isDelete) {
		super();
		this.id = id;
		this.goodsName = goodsName;
		this.goodsDesc = goodsDesc;
		this.price = price;
		this.stock = stock;
		this.classifyLevel1Id = classifyLevel1Id;
		this.classifyLevel2Id = classifyLevel2Id;
		this.classifyLevel3Id = classifyLevel3Id;
		this.fileName = fileName;
		this.isDelete = isDelete;
	}
	@Override
	public String toString() {
		return "Goods [id=" + id + ", goodsName=" + goodsName + ", goodsDesc=" + goodsDesc + ", price=" + price
				+ ", stock=" + stock + ", classifyLevel1Id=" + classifyLevel1Id + ", classifyLevel2Id="
				+ classifyLevel2Id + ", classifyLevel3Id=" + classifyLevel3Id + ", fileName=" + fileName + ", isDelete="
				+ isDelete + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsDesc() {
		return goodsDesc;
	}
	public void setGoodsDesc(String goodsDesc) {
		this.goodsDesc = goodsDesc;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public int getClassifyLevel1Id() {
		return classifyLevel1Id;
	}
	public void setClassifyLevel1Id(int classifyLevel1Id) {
		this.classifyLevel1Id = classifyLevel1Id;
	}
	public int getClassifyLevel2Id() {
		return classifyLevel2Id;
	}
	public void setClassifyLevel2Id(int classifyLevel2Id) {
		this.classifyLevel2Id = classifyLevel2Id;
	}
	public int getClassifyLevel3Id() {
		return classifyLevel3Id;
	}
	public void setClassifyLevel3Id(int classifyLevel3Id) {
		this.classifyLevel3Id = classifyLevel3Id;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public int getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}
	
	
}
